home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1994 #2 / Monster Media No. 2 (Monster Media)(1994).ISO / utils1 / dosmenu6.zip / DMLOGIN.DOC < prev    next >
Text File  |  1994-06-13  |  6KB  |  183 lines

  1.                             DOSMENU LOGIN UTILITY
  2. ══════════════════════════════════════════════════════════════════════════════
  3.  
  4. Version 6.4c
  5. June 1994
  6. (C)Copyright 1993-1994 by Skip Bremer
  7.  
  8. Note:  DMlogin is normally sold as part of the DOSmenu network menu system
  9. package.  To evaluate the entire package, you need to download DOSMNU.EXE as
  10. well, if you do not already have it.
  11.  
  12. DMlogin is a fantastic utility for helping to bring true order and security to
  13. your network during the login and logout process.  For ordering information,
  14. please see the end of this document.
  15.  
  16. This program is NOT required by DOSmenu and DOSmenu is NOT required of
  17. DMlogin.  They are separate entities, but they work great together!
  18.  
  19. DMlogin acts as a buffer between your user and the actual network login and
  20. logout commands.  Here is how you set it up.  The batch files below contain
  21. the basic minimum requirements.  You may doctor them up as you need -- we
  22. certainly have on our network.
  23.  
  24.  
  25. First
  26. ═════
  27.  
  28. You run DMLOGIN.EXE by itself so that it can create its INI file.  This file
  29. defines the following:
  30.  
  31. o    The DOS variable to be used by DMlogin to pass the login and logout
  32.      commands/batch files to DOS.
  33.  
  34. o    The name of the command/batch file to be passed by DMlogin when logging
  35.      in to the network.  If you enter the full path and extension (like
  36.      F:\LOGIN\_LOGIN.BAT), then DMlogin will alert you if it is missing and
  37.      will not let the user go.
  38.  
  39. o    The name of a second command/batch file to be passed by DMlogin when
  40.      logging in to the network when a user places a '*' in front of their
  41.      name.  This is optional and can be used to provide an alternate login for
  42.      support/power users, etc.  The same path option entry as above applies.
  43.  
  44. o    The name of a third command/batch file to be passed by DMlogin when
  45.      logging in to the network when a user places a '+' in front of their
  46.      name.  This is optional and can be used to provide an alternate login for
  47.      support/power users, etc.  The same path option entry as above applies.
  48.  
  49. o    The name of the command/batch file to be passed by DMlogin when force
  50.      logging out of the network.  The same path option entry as above applies.
  51.  
  52. o    The background screen color (check DOSMENU.DOC for how to set this).
  53.  
  54. o    The top and bottom information lines color (check DOSMENU.DOC for how to
  55.      set this.)
  56.  
  57. o    Whether to use the CRT border or not.
  58.  
  59. o    The title of the user's login screen.
  60.  
  61. o    The help number for your network support area.
  62.  
  63. o    Whether to use the fancy screen saver (yes) or the normal one (no).  The
  64.      fancy one is a graphic of a computer terminal while the normal one is a
  65.      business-like statement.
  66.  
  67.  
  68. Second
  69. ══════
  70.  
  71. Make your batch files.  For these examples, the INI file answers look like
  72. this:
  73.  
  74. _DMLOGIN - the DOS variable
  75. _LOGIN   - the batch file DMlogin calls to login
  76.          - the alternate login batch file is not specified
  77. _LOGOUT  - the batch file DMlogin calls to logout
  78.  
  79. LOGIN.BAT
  80. ─────────
  81. This is the main batch file your users will type (or get from their
  82. AUTOEXEC.BAT) to log in.  On NetWare, you should rename LOGIN.EXE to, say,
  83. IN.EXE (as shown in the examples).
  84.  
  85. @echo off
  86. dmlogin %1       ;%1 in case someone types 'login name'
  87. call %_dmlogin%  ;if DMlogin received good info from user, then run _login
  88.                  ;call is in case there is more to your batch file
  89.  
  90. _LOGIN.BAT
  91. ──────────
  92. This is the batch file called by DMlogin to effect a login
  93.  
  94. @echo off
  95. in %1 %2         ;in is really the old network LOGIN.EXE program
  96. if exist f:\public\*.* goto END ;did we get logged in?
  97. dmlogin /error   ;must not have gotten logged in, so show error screen
  98. login %1         ;run main batch file again
  99. :END
  100.  
  101. _LOGOUT.BAT
  102. ───────────
  103. This is the batch file called by DMlogin to effect a logout
  104. out              ;out is really the old network LOGOUT.EXE program
  105. login            ;run main batch file again
  106.  
  107. As previously stated, you can add to these batch files as needed.  We are just
  108. showing you the basic bare necessities that DMlogin needs in order to work
  109. properly.
  110.  
  111.  
  112. Third
  113. ═════
  114.  
  115. Place the command that starts the process for your users in their
  116. AUTOEXEC.BAT, like login for LOGIN.BAT (if this is the case, you probably will
  117. have to rename the network login command to something else.  We rename
  118. LOGIN.EXE to IN.EXE and LOGOUT.EXE to OUT.EXE on our network.
  119.  
  120. Optionally, consider using DMPAUSE.EXE instead of PAUSE in your network user
  121. batch files.  It helps prevent batch file breakout.
  122.  
  123. That's all there is to it!  You may need to read the DMUSERS.DOC for some
  124. specifics on batch file placements on NetWare networks if you get strange
  125. error messages at times during the logout process.
  126.  
  127.  
  128. Important Note
  129. ══════════════
  130.  
  131. These programs and files should be placed in your users' login directory on
  132. the network (\LOGIN for NetWare).  They work great there, but probably won't
  133. anywhere else due to other directories "going away" on logout.
  134.  
  135.  
  136. Password Protected Exit Option
  137. ══════════════════════════════
  138. If you need to be able to abort from this program from time to time as an
  139. administrator, then DMlogin can contain a secret password for that purpose.
  140. Then, when ever you press Escape, you will be prompted for this password.  If
  141. correct, an errorlevel of 255 will be passed to DOS, when can be used like
  142. this:
  143.  
  144. .
  145. .
  146. dmlogin
  147. if errorlevel 255 goto ABORT
  148. call %dmlogin%
  149. :ABORT
  150. .
  151. .
  152.  
  153. To make this password, edit a file new called DMLOGIN.DAT that is in the same
  154. directory as DMLOGIN.EXE.  Enter a one-line password of 8 characters or less
  155. and then press Enter at the end of the line (Should be a one-line file).  Then
  156. enter the following command:
  157.  
  158. DMUTIL /C DMLOGIN.DAT
  159.  
  160. DMutil will encrypt the file for you.  Now you can secretly abort DMlogin.
  161.  
  162.  
  163. Shareware - Ordering
  164. ════════════════════
  165.  
  166. DMlogin is sold as part of the DOSmenu package.  If you do not have DOSmenu,
  167. you can download it from Compuserve, the NOVUSERS/New Uploads forum.  The file
  168. name is DOSMNU.EXE.
  169.  
  170. To order DOSmenu (with DMlogin) directly, contact the author, Skip Bremer, by
  171.  
  172.      calling:    512-328-2465
  173.  
  174.      or 
  175.  
  176.      writing:    Skip Bremer -DOSmenu
  177.                  3401 Cactus Wren Way
  178.                  Austin TX 78746 
  179.  
  180.      or
  181.  
  182.      Compuserve: CIS 71614,2556.
  183.